package liy.demo.wikiproject.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import liy.demo.wikiproject.req.PageReq;
import lombok.Data;

import java.util.List;

@Data
public class DocResp {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    private List<DocResp> children;

    private Long ebookId;


    private Long parent;

    private String name;

    private Integer sort;


    private Integer viewCount;

    private Integer voteCount;

    private String content;

}